/**
 * Created by yqj on 2017/2/15.
 */
module.exports = (Resource) => {
  const customActions = {
    getBookType: {method: 'GET', url: '/restapi/smartfactory/kb/property/booktype'},
    getBrand: {method: 'GET', url: '/restapi/smartfactory/kb/property/brand'},
    getGrade: {method: 'GET', url: '/restapi/smartfactory/kb/property/grade'},
    getProvince: {method: 'GET', url: '/restapi/smartfactory/kb/property/province'},
    getSelfContentType: {method: 'GET', url: '/restapi/smartfactory/kb/property/selfcontenttype'},
    getSeries: {method: 'GET', url: '/restapi/smartfactory/kb/property/series'},
    getSubject: {method: 'GET', url: '/restapi/smartfactory/kb/property/subject'},
    getTopicType: {method: 'GET', url: '/restapi/smartfactory/kb/property/topictype'},
    getVersion: {method: 'GET', url: '/restapi/smartfactory/kb/property/version'},
    getVolume: {method: 'GET', url: '/restapi/smartfactory/kb/property/volume'}
  }
  return Resource('', {}, customActions)
}
